package com.getnerator.service;

import java.util.List;
import java.util.Map;

public interface GeneratorService {
    List<Map<String, Object>> listTables(String keyword);
    Map<String, Object> generate(String tableName, boolean force) throws Exception;

    // 依据临时数据源操作（指定数据库）
    List<Map<String, Object>> listTablesWithDs(String url, String username, String password, String keyword);
    Map<String, Object> generateWithDs(String url, String username, String password, String tableName, boolean force) throws Exception;
}


